package com.canaan.business.domain.storehouse;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.canaan.common.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;

/**
 * 库存盘点计划对象 wms_stock_check_plan
 *
 * @author ruoyi
 * @date 2023-02-14
 */
@ApiModel(description = "wms_stock_check_plan")
@TableName("wms_stock_check_plan")
public class StockCheckPlan extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** no */
    @Excel(name = "no")
    @ApiModelProperty("no")
    private String no;

    /** 计划名称 */
    @Excel(name = "计划名称")
    @ApiModelProperty("计划名称")
    private String name;

    /** 盘点类型:SHOW-明盘HIDE-暗盘 */
    @Excel(name = "盘点类型:SHOW-明盘HIDE-暗盘")
    @ApiModelProperty("盘点类型:SHOW-明盘HIDE-暗盘")
    private String checkType;

    /** 盘点方式:PRODUCT-物料;LOCATION-位置 */
    @Excel(name = "盘点方式:PRODUCT-物料;LOCATION-位置")
    @ApiModelProperty("盘点方式:PRODUCT-物料;LOCATION-位置")
    private String checkWay;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    @ApiModelProperty("仓库编号")
    private String storehouseNo;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("开始时间")
    private Date startTime;

    /** 是否删除：1是 0否 */
    @ApiModelProperty("开始时间")
    private String delFlag;

    /** 是否已生成:Y是N否 */
    @ApiModelProperty("是否已生成:Y是N否")
    private String isGenerator;

    public String getIsGenerator() {
        return isGenerator;
    }

    public void setIsGenerator(String isGenerator) {
        this.isGenerator = isGenerator;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCheckType(String checkType)
    {
        this.checkType = checkType;
    }

    public String getCheckType()
    {
        return checkType;
    }
    public void setCheckWay(String checkWay)
    {
        this.checkWay = checkWay;
    }

    public String getCheckWay()
    {
        return checkWay;
    }
    public void setStorehouseNo(String storehouseNo)
    {
        this.storehouseNo = storehouseNo;
    }

    public String getStorehouseNo()
    {
        return storehouseNo;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("name", getName())
            .append("checkType", getCheckType())
            .append("checkWay", getCheckWay())
            .append("storehouseNo", getStorehouseNo())
            .append("startTime", getStartTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
